import { reactive } from "vue";

export default function useData() {
  const pageData = reactive({
    columnData: [
      {
        label: "序号",
        prop: "no",
        width: "80px",
        sortable: true
      },
      {
        label: "网口",
        prop: "ifname",
        width: "auto"
      },
      {
        label: "网络模式",
        prop: "ifname1",
        width: "auto"
      },
      {
        label: "封堵方式",
        prop: "plug_class",
        width: "auto"
      },
      {
        label: "封堵规则",
        prop: "plug_cfg",
        width: "auto"
      },
      {
        label: "编辑时间",
        prop: "uptime",
        width: "auto"
      },
      {
        label: "操作",
        prop: "operation",
        width: "auto"
      }
    ]
  });
  return {
    pageData
  };
}
